package com.hunt.service;


import com.hunt.model.dto.PageInfo;
import com.hunt.model.dto.UserLevel;

import java.util.List;

/**
 * @Author: ouyangan
 * @Date : 2016/10/15
 */
public interface UserLevelService {

    int insertUserLevel(UserLevel userLevel);

    int update(UserLevel userLevel);

    int deleteByUserlevelId(String userlevel);

    UserLevel selectUserLevel(UserLevel userLevel);

    UserLevel selectByUserLevel(String userlevel);

    //查询全部
    public List<UserLevel> selectAll();

    //查询数量
    public int selectCounts();

    PageInfo selectPage(int page, int rows, String order);


}
